package cn.itsource.cw.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.Date;
import javax.persistence.Id;

@Data
public class TbEmployee {
  @Id
  private String gh;
  private String name;
  private String idCard;
  private Integer sex;
  private Integer age;
  @JSONField(format = "yyyy-MM-dd")
  private Date birthday;
  private Integer isEnable;
  private Integer deptId;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date createDate;
  @JSONField(format = "yyyy-MM-dd HH:mm:ss")
  private Date updateDate;

}
